﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OrgList.aspx.cs" Inherits="OrgList" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<%@ Import Namespace="System.Data" %> 
<%@ Import Namespace="System.Data.SqlClient" %> 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>组织信息</title>
    <link href="Css/baiduList.css" rel="Stylesheet" type="text/css" />

    <script language="javascript">
    var bds={se:{}},name,location,navigate,bdQid="bd7134be0e5413d2",bdstoken="";
    var selfOpen = window.open;eval("var open = selfOpen;");
    
    function G(id){return document.getElementById(id);}
    
    function TagQ(tag,obj){return obj.getElementsByTagName(tag);}
    
    function h(obj){
        obj.style.behavior='url(#default#homepage)';
        obj.setHomePage('http://www.baidu.com');
        var img=window["BD_PS_C"+(new Date()).getTime()]=new Image();
        img.src="http://sclick.baidu.com/w.gif?fm=hp&tn=baidu&t="+new Date().getTime();
    }
    
    function al_c(A){
        while(A.tagName!="TABLE"){
            A=A.parentNode;
        }
        return A.getAttribute("id");
    }
    
    function al_c2(n,c){
        while(c--){
            while((n=n.parentNode).tagName!="TABLE");
        };
        return n.getAttribute("id");
    }
    
    function c(q){
        if(q['fm']=='alop' && !('rsv_xpath' in q)){
            var p1 = q['p1'];
            if(p1 && G(p1).getAttribute('srcid')=='6677'){}
            else{
                return true;
            }
        }
        var p = window.document.location.href, sQ = '', sV = '', mu='', img = window["BD_PS_C" + (new Date()).getTime()] = new Image();
        for (v in q) {
            switch (v) {
                case "title":sV = encodeURIComponent(q[v].replace(/<[^<>]+>/g, ""));break;
                case "mu":case "url":sV = escape(q[v]);break;
                default:sV = q[v];}sQ += "&" + v + "=" + sV;
            }
            try{
                if (("p2" in q)&&G(q["p1"]).getAttribute("mu") && q["fm"]!="pl") {
                    mu= "&mu=" + escape(G(q["p1"]).getAttribute("mu"));
                }
            }catch(e){};
            img.src = "http://sclick.baidu.com/w.gif?q=html+%C4%A3%B0%E5" + sQ + mu + "&rsv_sid=1080_1102_1104&cid=0&qid=bd7134be0e5413d2&t="+new Date().getTime()+"&path="+p;
            return true;
    }
    function ns_c(q){
        var p = encodeURIComponent(window.document.location.href), sQ = '',wd='html+%C4%A3%B0%E5', sV = '', mu='', img = window["BD_PS_C" + (new Date()).getTime()] = new Image();
        for (v in q) {switch (v) {
            case "title":sV = encodeURIComponent(q[v].replace(/<[^<>]+>/g, ""));break;
            case "url":sV = encodeURIComponent(q[v]);break;
            default:sV = q[v]}sQ += v + "=" + sV + "&"} mu= "&mu=" + p ;
            img.src = "http://nsclick.baidu.com/v.gif?pid=201&pj=www&" + sQ + "path="+p+"&wd="+wd+"&t="+new Date().getTime();
            return true;}window["bdUser"]=null;
            window["login_success"]=[];
            window["bdQuery"] = "html 模板";
            window["bdUseFavo"] = "0";
            window["bdFavoOn"] = "0";
            window["bdCid"] = "0";
            window["bdSid"] = "1080_1102_1104";
            window["bdServerTime"] = "1322979253";

    </script>

</head>
<body link="#0000cc">

<form class="fm" id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
                             </asp:ScriptManager>
                             
    <div id="out">
        <div id="in">
        
            <div id="wrapper">
                <p id="u">
                   <a onmousedown="return user_c({'fm':'set','tab':'login','url':this.href})" id="lb" onclick="return false;" href="Login.aspx">登录</a>
                </p>
                <div id="head">
                    
                    <div class="nv">
                        <a class="logo" onmousedown="return c({'fm':'tab','tab':'logo'})" href="">
                            <img height="38" alt="到多巴拉首页" src="Images/baidu_jgylogo.gif" width="117" border="0"></a>
                        <div class="tab">
                            <a onmousedown="return c({'fm':'tab','tab':'zhidao'})"href="CompanyList.aspx">公司</a> &nbsp;|&nbsp;
                             <b>组织</b>&nbsp;|&nbsp;
                              <a onmousedown="return c({'fm':'tab','tab':'tieba'})" href="ShopList.aspx">商铺</a> &nbsp;|&nbsp;
                             <a onmousedown="return c({'fm':'tab','tab':'mp3'})" href="PersionList.aspx">个人</a>
                             
                        </div>
                        
                    </div>
                    <asp:TextBox ID="Txb_Company" runat="server" MaxLength="100"  CssClass="i" ></asp:TextBox>
                    
                    <cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" TargetControlID="Txb_Company"
                        ServicePath="KeyFind.asmx" CompletionSetCount="10" MinimumPrefixLength="1" ServiceMethod="GetCompleteCompany">
                    </cc1:AutoCompleteExtender>

               
                
                    <asp:Button ID="Btn_SCompany" runat="server" Text="搜索" class="btn" onmousedown="this.className='btn btn_h'"  onmouseout="this.className='btn'" 
                        onclick="Btn_SCompany_Click"/>
                    
                </div>
        
                
                <div id="container">
                
                    <!--
                <table cellspacing="0" cellpadding="0" width="30%" align="right">
                        <tbody>
                            <tr>
                                <td style="padding-right: 10px" align="left">
                                    <div style="padding-left: 10px; border-left: #e1e1e1 1px solid; word-break: break-all; word-wrap: break-word">
                                        <div class="r ec_bdtg">
                                            <div class="fsblock">
                                                <div class="title">
                                                    <a href="" target="_blank"><font style="font-size: 8pt" size="3">&#9654;</font><font
                                                        size="3">来多巴拉推广您的公司</font></a>
                                                </div>
                                                <a href="" target="_blank"><font color="#000" size="-1">咨询热线：400-800-5555</font><br>
                                                    <font color="#008000" size="-1">www.duobala.com</font></a></div>
                                        </div>
                                        <br>
                                    </div>
                                    <br>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    -->
                    
                <asp:Repeater ID="myRepeater" runat="server" >
                 <HeaderTemplate>
                  <table class="result" id="1" cellspacing="0" cellpadding="0">
                      
                        <tr style="background-color:Silver; height:24px;">
                            <td width="200px">
                               组织全称
                               </td>
                               <td width="150px">
                               组织简称
                            
                            </td>
                             <td width="120px">
                               关键字
                            
                            </td>
                            
                             <td width="120px">
                               关键字
                            
                            </td>
                            
                             <td width="120px">
                               关键字
                            
                            </td>
                            
                        </tr>
             
                 </HeaderTemplate>
                 <ItemTemplate>
                 
                            <tr style="height:24px;">
                                <td>
                                <%# ((DataRowView)Container.DataItem)["fullname"]%> 
                                </td>
                                
                                <td>
                                <a href='OrgDetail.aspx?ID=<%# ((DataRowView)Container.DataItem)["memberid"]%> '> <%# ((DataRowView)Container.DataItem)["nickname"]%> </a>
                                </td>
                                
                                <td>
                                     <%# ((DataRowView)Container.DataItem)["keyword1"]%> 

                                </td>
                                <td>
                                 <%# ((DataRowView)Container.DataItem)["keyword2"]%> 

                                </td>
                                <td>
                                 <%# ((DataRowView)Container.DataItem)["keyword3"]%> 

                                </td>
                            </tr>
                            <tr style="height:12px;">
                                <td colspan="5">
                                    <hr />
                                </td>
                            </tr>
                    </ItemTemplate>
                <FooterTemplate>
                  
                    </table>
         
                    
                </FooterTemplate>
             </asp:Repeater>
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" Width="60%" NumericButtonCount="6" UrlPaging="true" 
                     FirstPageText="首页" LastPageText="末页" NextPageText="下页" PrevPageText="上页" Font-Names="Arial" BackColor="#EDEDED" AlwaysShow="true"   
                     SubmitButtonText="跳转" SubmitButtonStyle="botton" OnPageChanging="AspNetPager1_PageChanging" HorizontalAlign="left"
                     CustomInfoHTML="共 %PageCount% 条" ShowCustomInfoSection="right" >
                    </webdiyer:AspNetPager>
                   
               
                </div>
            
                <div id="foot">
                    &copy;2012 DuoBaLa
                </div>
            </div>
        </div>
    </div>
    
    </form>
    
</body>
</html>
